package whu.edu.assignment4.mapper;

import org.apache.ibatis.annotations.Mapper;
import whu.edu.assignment4.dataobject.User;

import java.util.List;

@Mapper
public interface UserMapper {
    User selectUserByUid(int uid);
    int insertUser(User user);
    User selectUserByUsername(String username);
    List<User> selectAll();
    int updateBalance(double balance, int uid);
}
